import { defineStore } from "pinia";
import type { AttrItem } from "@/api/product/model/attrModel";

interface Attr {
  attr: AttrItem;
}

export const useAttrStore = defineStore("attr", {
  state: (): Attr => {
    return {
      attr: {
        attrName: "",
        attrValueList: [],
      },
    };
  },
});
